package com.hzqiuxm.tdddemo001.ship;

import java.util.List;

/**
 * Copyright © 2020年 tdd-demo-001. All rights reserved.
 *
 * @author 临江仙 hzqiuxm@163.com
 * 船移动的场景地球
 * @date 2020/7/6 11:59
 */
public class Planet {

    private final Point max;
    private List<Point> obstacles;


    public List<Point> getObstacles() {
        return obstacles;
    }
    public void setObstacles(List<Point> obstacles) {
        this.obstacles = obstacles;
    }

    public Point getMax() {
        return max;
    }

    public Planet(Point max) {
        this.max = max;
    }
    public Planet(Point max, List<Point> obstacles) {
        this.max = max;
        this.obstacles = obstacles;
    }
}
